let age = 25

switch (true) {
  case age < 18:
    console.log('未成年人')
    break
  case age >= 18 && age < 65:
    console.log('成年人')
    break
  case age >= 65:
    console.log(age >= 65);
    console.log('老年人')
    break
  default:
    console.log('未知年龄')
}

const arr = [1, 2, 3, 4]
switch (true) {
  case arr.includes(1):
    console.log(1)
  case arr.includes(5):
    console.log(5)
}
